package com.kingdee.eas.hr.cifihr;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class DispatchTypeFactory
{
    private DispatchTypeFactory()
    {
    }
    public static com.kingdee.eas.hr.cifihr.IDispatchType getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.hr.cifihr.IDispatchType)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("15D9A9DD") ,com.kingdee.eas.hr.cifihr.IDispatchType.class);
    }
    
    public static com.kingdee.eas.hr.cifihr.IDispatchType getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.hr.cifihr.IDispatchType)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("15D9A9DD") ,com.kingdee.eas.hr.cifihr.IDispatchType.class, objectCtx);
    }
    public static com.kingdee.eas.hr.cifihr.IDispatchType getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.hr.cifihr.IDispatchType)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("15D9A9DD"));
    }
    public static com.kingdee.eas.hr.cifihr.IDispatchType getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.hr.cifihr.IDispatchType)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("15D9A9DD"));
    }
}